/**
 * 
 */

function validateFields(){
	var username = document.getElementById("username");
	var password = document.getElementById("password");
	
	if (username.value == "") {
		alert(document.getElementById("emptyuser").name);
		document.getElementById("username").focus();
		return false;
	}

	if (password.value == "") {
		alert(document.getElementById("emptypass").name);
		document.getElementById("password").focus();
		return false;
	}
}